package com.example.demo.ServiceImpl.Ip_Table;

import com.example.demo.Entity.DailyCount.DailyCount;
import com.example.demo.Entity.Ip_Table.IpTable;
import com.example.demo.Mapper.Ip_Table.IpTableMapper;
import com.example.demo.Service.Ip_Table.IpTableService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author Wu
 * @since 2025-04-04 04:59:01
 */
@Service
public class IpTableServiceImpl extends ServiceImpl<IpTableMapper, IpTable> implements IpTableService {

    @Resource
    private IpTableMapper ipTableMapper;

    @Override
    public List<DailyCount> getDailyAccessCount() {
        return ipTableMapper.getDailyCounts();
    }
}
